package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.ConSignStatus;
import com.sc.nft.enums.MarketTypeEnum;
import com.sc.nft.enums.PayMethodEnum;
import com.sc.nft.sup.AnemiaModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 寄售表(sc_second_collection)实体类
 *
 * @author kancy
 * @description 由 Mybatisplus Code Generator 创建
 * @since 2022-10-05 00:23:53
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_second_collection")
@EqualsAndHashCode(callSuper = true)
public class SecondCollection extends AnemiaModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 藏品Id
     */
    private Long collectionId;
    /**
     * 用户藏品id
     */
    private Long userCollectionId;
    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 状态
     */
    private ConSignStatus status;
    /**
     * 上架时间
     */
    private Date onShelfTime;
    /**
     * 下架时间
     */
    private Date offShelfTime;
    /**
     * 售卖时间
     */
    private Date salesTime;
    /**
     * 售卖价格
     */
    private BigDecimal salesPrice;
    /**
     * 防囤罚没金额
     */
    private BigDecimal antiHoardPrice;
    /**
     * 手续费
     */
    private BigDecimal charge;
    /**
     * 最低价
     */
    private BigDecimal minPrice;
    /**
     * 最高价
     */
    private BigDecimal maxPrice;
    /**
     * 市场分类 :1:品牌孵化 2:自由市场
     */
    private MarketTypeEnum marketType;

    /**
     * 序号
     */
    private Integer numbering;
    /**
     * 藏品总数
     */
    private Integer collectionSumCount;
    /**
     * 分润模板Id
     */
    private Long shareProfitPanelId;

}